<div class="panel-body">
  <div class="tieude"> Thêm mới nhóm bài viết </div>
  <?php
    if ($note != "") {
        echo "<ul>";
        foreach ($note as $nt) {
            echo "<li><font color='#FF000'>$nt </font></li>";
        }
        echo "</ul>";
    }
    ?>
  <hr/>
  <form class="form-horizontal" role="form" method="POST">
    <div class="form-group">
      <label class="col-md-4 control-label">ID</label>
      <div class="col-md-2">
        <input type="text" class="form-control" name="id" readonly="readonly"
                       value="<?php echo $auto_increment_id; ?>"/>
      </div>
    </div>
    <div class="form-group">
      <label class="col-md-4 control-label">Nhóm cha</label>
      <div class="col-md-6">
        <select class="form-control" name="parent">
          <option value="0"> Chọn nhóm cha </option>
          <?php
		  foreach($parent as $item){
			  $pr = $item['ten_ntt'];
			  echo "<option value='1'> $pr </option>";
			}
		  ?>
        </select>
      </div>
    </div>
    <div class="form-group">
      <label class="col-md-4 control-label">Tên nhóm tin tức</label>
      <div class="col-md-6">
        <input type="text" class="form-control" placeholder="Name of category" name="ten_ntt" required="required" autofocus="autofocus"/>
      </div>
    </div>
    <div class="form-group">
      <label class="col-md-4 control-label">&nbsp;</label>
      <div class="col-md-6">
        <input type="submit" class="btn btn-success" value="Thêm" name="ok"/>
      </div>
    </div>
  </form>
</div>
